Test Case Specification

Introduction

This document contains the test cases to be carried out for the application. Each case details the input and expected outputs.

Test Case

Login

Test ID 1.1
Title Login with Spaggiari ClasseViva
Objective Confirm that proper email and password yields access to the website
Setup A web server must be running

Test Data

Login information:

  • User/Email of account Spaggiari ClasseViva
  • Password

Test Action

  1. Open Web Site
  2. Click on button "Accedi" on the top right corner
  3. Insert User Information

Expected Results

Same page from which you come, edited according to the permissions granted


Test ID 1.2
Title Login with Local Account
Objective Confirm that proper username and password yields access to the website
Setup A web server must be running

Test Data

Login information:

  • User/Email of local account
  • Password

Test Action

  1. Open Web Site
  2. Click on button "Accedi" on the top right corner
  3. Insert User Information

Expected Results

Same page from which you come, edited according to the permissions granted


Test ID 1.3
Title Incorrect Password
Objective Confirm that invalid username and password don't allow access to the website
Setup A web server must be running

Test Data

Login information:

  • User/Email
  • Password

Test Action

  1. Open Web Site
  2. Click on button "Accedi" on the top right corner
  3. Insert User Information

Expected Results

Same page and appear a error message


Filter Companies

Test ID 2.1
Title Add Filters
Objective Confirm that filters filter companies
Setup A web server must be running

Test Action

  1. Open Web Site
  2. Select filters on the left sidebar
  3. Click the green button

Expected Results

Same page with only the filtered companies


Companies Informations

Test ID 3.1
Title Companies Informations
Objective Confirm that appear the right company information
Setup A web server must be running

Test Action

  1. Open Web Site
  2. Click the blue button on the right of the company choosen

Expected Results

New page with the all information of that company


Edit Company

Test ID 4.1
Title Add Company
Objective Confirm that all the company information are added
Setup INSERT Permission required. A web server must be running

Test Data

Company information:

  • Type: Azienda
  • Name: G. Marconi
  • Address: Piazzale Guardini
  • District: Verona

Test Action

  1. Open Web Site
  2. Click the button "Aggiungi"
  3. Insert all company information
  4. Click the button "Salva"

Expected Results

Same page and appear a success message


Test ID 4.2
Title Edit Company
Objective Confirm that all the company information are edited
Setup UPDATE Permission required. A web server must be running

Test Data

Company Information:

  • Name: NewName

Test Action

  1. Open Web Site
  2. Select a Company by clicking on it
  3. Click the button "Modifica"
  4. Edit all company information
  5. Click the button "Salva"

Expected Results

Same page and appear a success message


Test ID 4.3
Title Delete Company
Objective Confirm that all the company information are deleted
Setup DELETE Permission required. A web server must be running

Test Action

  1. Open Web Site
  2. Select a Company by clicking on it
  3. Click the button "Elimina"
  4. Confirm your choice

Expected Results

Same page and appear a success message